<div class="bjui-pageContent">
    <div class="bjui-pageHeader" style="background-color:#fefefe; border-bottom:none;">
        <form data-toggle="ajaxsearch" data-options="{searchDatagrid:$.CurrentNavtab.find('#code-set-lists')}">
            <fieldset>
                <legend style="font-weight:normal;">搜索：</legend>
                <div style="margin:0; padding:1px 5px 5px;">
                    <span>字段：</span>
                    <input type="text" name="content" class="form-control" size="30">

                    <div class="btn-group">
                        <button type="submit" class="btn-green" data-icon="search">开始搜索</button>
                        <button type="reset" class="btn-orange" data-icon="times">重置</button>
                    </div>
                </div>
            </fieldset>
        </form>
    </div>
    <p>
        <button type="button" class="btn-default" data-toggle="navtab"
            data-options="{
                    id:'pro-pro-code-set-add-navtab',
                    fresh:true,
                    url:'admin/pro-pro/code-set-add?process_product_id={{$process_product_id}}',
                    title:'添加设置'
                }"
        >
            添加设置
        </button>
    </p>
    <table class="table table-bordered" id="code-set-lists" data-toggle="datagrid" data-options="{
        tableWidth: '100%',
        height: '100%',
        gridTitle : '打码设置',
        showToolbar: false,
        toolbarItem: 'add',
        local: 'local',
        dataUrl: '/admin/pro-pro/code-set-lists?process_product_id={{$process_product_id}}',
        linenumberAll: false,
        showLinenumber: false,
        showCheckboxcol: false,
        showEditbtnscol: '操作',
        filterThead: false,
        editUrl: '/admin/pro-pro/edit',
        editCallback:editCallback,
        delUrl:'/admin/pro-pro/delete',
        delPK:'id',
        delConfirm: true,

        {{--exportOption:{type:'file', options:{url:'admin/export/process-field',type:'post',data: {_token : '{{ csrf_token() }}'}}}--}}
    }">
        <thead>
        <tr>
            <th data-options="{name:'id',width:50,align:'center',add:false,edit:false}">编号</th>
            <th data-options="{name:'title',width:150,align:'center',add:false,edit:false}">半成品名</th>
            <th data-options="{name:'content',add:false,edit:true,align:'center'}">字段</th>
        </tr>
        </thead>
    </table>
</div>>
<script type="text/javascript">
</script>